package chapter1;

import java.util.HashMap;
import java.util.Map;

public class AdvancedLookup implements LookupAdvance {
	Map map = new HashMap();

	public Object find(String name) {
		return map.get(name);
	}

	public boolean add(String name, Object value) {
		map.put(name,value);
		return true;
	}

	public boolean remove(String name) {
		map.remove(name);
		return true;
	}

}
